package cn.hnkjxy.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.hnkjxy.po.Product;

public interface ProductDao {
	public List<Product> findAllProduct();

	public Product findProductById(Integer prid);

	public Integer modifyproductstatus(@Param(value = "prid") Integer prid, @Param(value = "state") Integer state);
	
	public Integer deleteProduct(Integer prid);
	
	public Integer modifyproductstatus2(Product product);
	
	public List<Product> findProductByCondition(Product product);
	
	public List<Double> findAllPrice();
	
	public Integer addProduct(Product product);
	
	public Integer verificationProduct(String roomnumber);
}
